From: Sandro Knauß Date: Fri, 3 Feb 2023 17:09:41 +0000 (+0100) Subject: Don't use GuiPrivate. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0aead46d46bca5c970ccdf9338a7f40bce76ca35;p=nextcloud-desktop.git Don't use GuiPrivate. It is not used anymore and it was patched out before. Forwarded: not-needed Gbp-Pq: Name 0004-Don-t-use-GuiPrivate.patch --- diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 2bfa004dd..d3fb5aad6 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -3,10 +3,6 @@ find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS Widgets Svg Qml Quick Qui find_package(KF6Archive REQUIRED) find_package(KF6GuiAddons) -if (NOT TARGET Qt::GuiPrivate) - message(FATAL_ERROR "Could not find GuiPrivate component of Qt. It might be shipped as a separate package, please check that.") -endif() - if(CMAKE_BUILD_TYPE MATCHES Debug) add_definitions(-DQT_QML_DEBUG) endif() @@ -556,7 +552,6 @@ target_link_libraries(nextcloudCore PUBLIC Nextcloud::sync Qt::Widgets - Qt::GuiPrivate Qt::Svg Qt::Network Qt::Xml